home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 15 / BBS in a box XV-2.iso / Files II / Prog / T / Think C dcmd 1.0.1.sit / Think C dcmd 1.0.1 ƒ / Think Put Lib source / __DecToText.c < prev    next >
MacBinary  |  1994-06-12  |  768 b   |  [TEXT/KAHL]

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was processed as: MacBinary (archive/macBinary).

You can browse this item here: __DecToText.c

ConfidenceProgramDetectionMatch TypeSupport
66% dexvert Compact Compressed (Unix) (archive/compact) ext Supported
10% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert Text File (text/txt) fallback Supported
100% file MacBinary II, inited, Sun Jun 12 14:53:37 1994, modified Sun Jun 12 14:53:37 1994, creator Think C, type ASCII, 174 bytes "__DecToText.c" , at 0x12e 382 bytes resource default (weak)
99% file data default
74% TrID Macintosh plain text (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[KAHL]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0d 5f 5f 44 65 63 54 | 6f 54 65 78 74 2e 63 00 |..__DecT|oText.c.|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 4b 41 48 | 4c 01 00 00 00 00 00 00 |.TEXTKAH|L.......|
|00000050| 00 00 00 00 00 00 ae 00 | 00 01 7e aa 21 0a 31 aa |........|..~.!.1.|
|00000060| 21 0a 31 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |!.1.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 b6 9c 00 00 |........|........|
|00000080| 76 6f 69 64 20 5f 5f 44 | 65 63 54 6f 54 65 78 74 |void __D|ecToText|
|00000090| 20 28 75 6e 73 69 67 6e | 65 64 20 6c 6f 6e 67 20 | (unsign|ed long |
|000000a0| 64 65 63 2c 20 63 68 61 | 72 2a 20 73 74 72 20 29 |dec, cha|r* str )|
|000000b0| 0d 7b 0d 09 09 69 6e 74 | 09 09 20 6e 3b 0d 09 09 |.{...int|.. n;...|
|000000c0| 63 68 61 72 2a 09 20 64 | 69 67 69 74 73 20 3d 20 |char*. d|igits = |
|000000d0| 22 30 31 32 33 34 35 36 | 37 38 39 22 3b 0d 09 0d |"0123456|789";...|
|000000e0| 09 66 6f 72 20 28 20 6e | 20 3d 20 39 3b 20 6e 20 |.for ( n| = 9; n |
|000000f0| 3e 3d 20 30 3b 20 6e 2d | 2d 20 29 0d 09 7b 0d 09 |>= 0; n-|- )..{..|
|00000100| 09 73 74 72 5b 6e 5d 20 | 3d 20 64 69 67 69 74 73 |.str[n] |= digits|
|00000110| 5b 64 65 63 20 25 20 31 | 30 5d 3b 0d 09 09 64 65 |[dec % 1|0];...de|
|00000120| 63 20 2f 3d 20 31 30 3b | 0d 09 7d 0d 7d 0d 00 00 |c /= 10;|..}.}...|
|00000130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000180| 00 00 01 00 00 00 01 4c | 00 00 00 4c 00 00 00 32 |.......L|...L...2|
|00000190| 00 1f ff ff 00 03 fe 00 | 07 ff ff 00 03 e0 fd 00 |........|........|
|000001a0| 00 c0 fe 00 05 01 e0 00 | 7f c0 00 fe ff 04 c0 00 |........|........|
|000001b0| 0d 5f 5f 44 65 63 54 6f | 54 65 78 74 2e 63 02 00 |.__DecTo|Text.c..|
|000001c0| 02 00 54 45 58 54 4b 41 | 48 4c 00 00 00 00 00 00 |..TEXTKA|HL......|
|000001d0| 02 00 54 45 58 54 4b 41 | 48 4c 00 00 00 00 00 00 |..TEXTKA|HL......|
|000001e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001f0| 00 00 aa 20 c3 c6 00 00 | 00 ae 00 00 01 7e 07 ff |... ....|.....~..|
|00000200| ff 00 03 e0 fd 00 00 c0 | fe 00 0d 01 e0 00 7f c0 |........|........|
|00000210| 00 3f ff ff c0 00 ff ff | e0 fe 00 03 0f ff ff 00 |.?......|........|
|00000220| 32 01 ff fe fe 00 0f 07 | f8 00 1f ff ff 00 03 fe |2.......|........|
|00000230| 00 07 ff ff 00 03 e0 fd | 00 00 c0 fe 00 0d 01 e0 |........|........|
|00000240| 00 7f c0 00 1f ff ff c0 | 00 ff ff c0 fe 00 03 03 |........|........|
|00000250| ff ff 00 32 01 ff fc fe | 00 0f 0f f8 00 1f ff ff |...2....|........|
|00000260| 00 03 fe 00 07 ff ff 00 | 03 e0 fd 00 00 c0 fe 00 |........|........|
|00000270| 0d 01 e0 00 7f c0 00 0f | ff ff c0 00 ff ff 80 fe |........|........|
|00000280| 00 00 00 48 00 09 4d 6f | 6e 61 63 6f 00 00 00 00 |...H..Mo|naco....|
|00000290| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002a0| 00 00 00 00 00 00 00 06 | 00 04 00 2a 00 03 01 dd |........|...*....|
|000002b0| 02 7d 00 52 00 3c 01 dc | 02 6c aa 20 c3 e2 00 00 |.}.R.<..|.l. ....|
|000002c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 01 00 |........|........|
|000002d0| 00 00 01 4c 00 00 00 4c | 00 00 00 32 00 82 48 50 |...L...L|...2..HP|
|000002e0| 12 5e 00 00 00 1c 00 32 | 00 00 4d 50 53 52 00 00 |.^.....2|..MPSR..|
|000002f0| 00 0a 03 ed ff ff 00 00 | 00 00 00 82 47 40 00 00 |........|....G@..|
+--------+-------------------------+-------------------------+--------+--------+